# This Python file uses the following encoding: utf-8
#############################################################################
##
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of Qt for Python.
##
## $QT_BEGIN_LICENSE:LGPL$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see https://www.qt.io/terms-conditions. For further
## information use the contact form at https://www.qt.io/contact-us.
##
## GNU Lesser General Public License Usage
## Alternatively, this file may be used under the terms of the GNU Lesser
## General Public License version 3 as published by the Free Software
## Foundation and appearing in the file LICENSE.LGPL3 included in the
## packaging of this file. Please review the following information to
## ensure the GNU Lesser General Public License version 3 requirements
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
##
## GNU General Public License Usage
## Alternatively, this file may be used under the terms of the GNU
## General Public License version 2.0 or (at your option) the GNU General
## Public license version 3 or any later version approved by the KDE Free
## Qt Foundation. The licenses are as published by the Free Software
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
## included in the packaging of this file. Please review the following
## information to ensure the GNU General Public License requirements will
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
## https://www.gnu.org/licenses/gpl-3.0.html.
##
## $QT_END_LICENSE$
##
#############################################################################

"""
This file contains the exact signatures for all functions in module
Qt.QtAxContainer, except for defaults which are replaced by "...".
"""

# Module Qt.QtAxContainer
import Qt
try:
    import typing
except ImportError:
    from Qt.support.signature import typing
from Qt.support.signature.mapping import (
    Virtual, Missing, Invalid, Default, Instance)

class Object(object): pass

import shiboken2 as Shiboken
Shiboken.Object = Object

import Qt.QtCore
import Qt.QtGui
import Qt.QtWidgets
import Qt.QtAxContainer


class QAxBase(Shiboken.Object):

    def __init__(self): ...

    def __lshift__(self, s:Qt.QtCore.QDataStream) -> Qt.QtCore.QDataStream: ...
    def __rshift__(self, s:Qt.QtCore.QDataStream) -> Qt.QtCore.QDataStream: ...
    @staticmethod
    def argumentsToList(var1:typing.Any, var2:typing.Any, var3:typing.Any, var4:typing.Any, var5:typing.Any, var6:typing.Any, var7:typing.Any, var8:typing.Any) -> typing.List: ...
    def asVariant(self) -> typing.Any: ...
    def classContext(self) -> int: ...
    def className(self) -> bytes: ...
    def clear(self): ...
    def control(self) -> str: ...
    def disableClassInfo(self): ...
    def disableEventSink(self): ...
    def disableMetaObject(self): ...
    @typing.overload
    def dynamicCall(self, name:bytes, v1:typing.Any=..., v2:typing.Any=..., v3:typing.Any=..., v4:typing.Any=..., v5:typing.Any=..., v6:typing.Any=..., v7:typing.Any=..., v8:typing.Any=...) -> typing.Any: ...
    @typing.overload
    def dynamicCall(self, name:bytes, vars:typing.Sequence) -> typing.Any: ...
    @typing.overload
    def dynamicCall(self, name:bytes, vars:typing.Sequence, flags:int) -> typing.Any: ...
    def fallbackMetaObject(self) -> Qt.QtCore.QMetaObject: ...
    def generateDocumentation(self) -> str: ...
    def indexOfVerb(self, verb:str) -> int: ...
    def initializeFrom(self, that:Qt.QtAxContainer.QAxBase): ...
    def internalRelease(self): ...
    def isNull(self) -> bool: ...
    def propertyBag(self) -> typing.Dict: ...
    def propertyWritable(self, arg__1:bytes) -> bool: ...
    def qObject(self) -> Qt.QtCore.QObject: ...
    @typing.overload
    def querySubObject(self, name:bytes, v1:typing.Any=..., v2:typing.Any=..., v3:typing.Any=..., v4:typing.Any=..., v5:typing.Any=..., v6:typing.Any=..., v7:typing.Any=..., v8:typing.Any=...) -> Qt.QtAxContainer.QAxObject: ...
    @typing.overload
    def querySubObject(self, name:bytes, vars:typing.Sequence) -> Qt.QtAxContainer.QAxObject: ...
    def setClassContext(self, classContext:int): ...
    def setControl(self, arg__1:str) -> bool: ...
    def setPropertyBag(self, arg__1:typing.Dict): ...
    def setPropertyWritable(self, arg__1:bytes, arg__2:bool): ...
    def verbs(self) -> typing.List: ...


class QAxObject(Qt.QtCore.QObject, Qt.QtAxContainer.QAxBase):

    @typing.overload
    def __init__(self, c:str, parent:typing.Optional[Qt.QtCore.QObject]=...): ...
    @typing.overload
    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def className(self) -> bytes: ...
    def doVerb(self, verb:str) -> bool: ...
    def fallbackMetaObject(self) -> Qt.QtCore.QMetaObject: ...
    def qObject(self) -> Qt.QtCore.QObject: ...


class QAxScript(Qt.QtCore.QObject):
    FunctionNames            : QAxScript = ... # 0x0
    FunctionSignatures       : QAxScript = ... # 0x1

    class FunctionFlags(object):
        FunctionNames            : QAxScript.FunctionFlags = ... # 0x0
        FunctionSignatures       : QAxScript.FunctionFlags = ... # 0x1

    def __init__(self, name:str, manager:Qt.QtAxContainer.QAxScriptManager): ...

    @typing.overload
    def call(self, function:str, arguments:typing.Sequence) -> typing.Any: ...
    @typing.overload
    def call(self, function:str, v1:typing.Any=..., v2:typing.Any=..., v3:typing.Any=..., v4:typing.Any=..., v5:typing.Any=..., v6:typing.Any=..., v7:typing.Any=..., v8:typing.Any=...) -> typing.Any: ...
    def functions(self, arg__1:Qt.QtAxContainer.QAxScript.FunctionFlags=...) -> typing.List: ...
    def load(self, code:str, language:str=...) -> bool: ...
    def scriptCode(self) -> str: ...
    def scriptEngine(self) -> Qt.QtAxContainer.QAxScriptEngine: ...
    def scriptName(self) -> str: ...


class QAxScriptEngine(Qt.QtAxContainer.QAxObject):

    def __init__(self, language:str, script:Qt.QtAxContainer.QAxScript): ...

    def addItem(self, name:str): ...
    def hasIntrospection(self) -> bool: ...
    def isValid(self) -> bool: ...
    def scriptLanguage(self) -> str: ...


class QAxScriptManager(Qt.QtCore.QObject):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def addObject(self, object:Qt.QtAxContainer.QAxBase): ...
    @typing.overload
    def call(self, function:str, arguments:typing.Sequence) -> typing.Any: ...
    @typing.overload
    def call(self, function:str, v1:typing.Any=..., v2:typing.Any=..., v3:typing.Any=..., v4:typing.Any=..., v5:typing.Any=..., v6:typing.Any=..., v7:typing.Any=..., v8:typing.Any=...) -> typing.Any: ...
    def functions(self, arg__1:Qt.QtAxContainer.QAxScript.FunctionFlags=...) -> typing.List: ...
    @typing.overload
    def load(self, code:str, name:str, language:str) -> Qt.QtAxContainer.QAxScript: ...
    @typing.overload
    def load(self, file:str, name:str) -> Qt.QtAxContainer.QAxScript: ...
    @staticmethod
    def registerEngine(name:str, extension:str, code:str=...) -> bool: ...
    def script(self, name:str) -> Qt.QtAxContainer.QAxScript: ...
    @staticmethod
    def scriptFileFilter() -> str: ...
    def scriptNames(self) -> typing.List: ...


class QAxSelect(Qt.QtWidgets.QDialog):

    def __init__(self, parent:typing.Optional[Qt.QtWidgets.QWidget]=..., flags:Qt.QtCore.Qt.WindowFlags=...): ...

    def clsid(self) -> str: ...


class QAxWidget(Qt.QtWidgets.QWidget, Qt.QtAxContainer.QAxBase):

    @typing.overload
    def __init__(self, c:str, parent:typing.Optional[Qt.QtWidgets.QWidget]=..., f:Qt.QtCore.Qt.WindowFlags=...): ...
    @typing.overload
    def __init__(self, parent:typing.Optional[Qt.QtWidgets.QWidget]=..., f:Qt.QtCore.Qt.WindowFlags=...): ...

    def changeEvent(self, e:Qt.QtCore.QEvent): ...
    def className(self) -> bytes: ...
    def clear(self): ...
    @typing.overload
    def createHostWindow(self, arg__1:bool) -> bool: ...
    @typing.overload
    def createHostWindow(self, arg__1:bool, arg__2:Qt.QtCore.QByteArray) -> bool: ...
    def doVerb(self, verb:str) -> bool: ...
    def fallbackMetaObject(self) -> Qt.QtCore.QMetaObject: ...
    def minimumSizeHint(self) -> Qt.QtCore.QSize: ...
    def qObject(self) -> Qt.QtCore.QObject: ...
    def resizeEvent(self, arg__1:Qt.QtGui.QResizeEvent): ...
    def sizeHint(self) -> Qt.QtCore.QSize: ...
    def translateKeyEvent(self, message:int, keycode:int) -> bool: ...

# eof
